﻿<script src="/SFramework/Ueditor/ueditor/ueditor.config.js"></script>
<script src="/SFramework/Ueditor/ueditor/ueditor.all.min.js"></script>
<script src="/SFramework/Ueditor/ueditor/lang/zh-cn/zh-cn.js"></script>
<div  id="main_tab" class="mini-tabs">
    <div title="基本信息">
        <table style="width: 100%;">
            <tr>               

                <td class="theader">标题</td>
                <td colspan="3">
                    <input id="title" name="title" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;height:30px" />
                </td>
            </tr> 
            <tr>
                <td class="theader">调用别名</td>
                <td style="height:30px">
                    <input id="call_indexname=" call_index" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;height:30px" />
                </td>
                <td class="theader">所属类别</td>
                <td>
                    <input id="category_id" name="category_id" allowinput="true" shownullitem="false" class="mini-treeselect" textfield="name" valuefield="id" parentfield="parent_id" style="width: 100%;"
                           url="/extendpage/data/jsondata.aspx?entity=t_site_article_category&customCondition=channel_id='@channel_id'&type=1" />
                </td>
            </tr>
            <tr>
                <td class="theader">摘要</td>
                <td colspan="3">
                    <input id="zhaiyao" name="zhaiyao" allowinput="true" shownullitem="false" class="mini-textarea" style="width: 100%;height:80px" />
                </td>
            </tr> 
            <tr>
                <td class="theader">排序</td>
                <td>
                    <input id="sort" name="sort" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;" />
                </td>
                <td class="theader">作者</td>
                <td>
                    <input id="user_name" name="user_name" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;" />
                </td>
            </tr>
            <tr>
                <td class="theader">信息来源</td>
                <td>
                    <input id="link_url" name="link_url" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;" />
                </td> 
                <td class="theader">是否允许评论</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_msg" name="is_msg" data="[{id: 1, text: '允许'},{id: 0, text: '不允许'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>
            </tr>
            <tr>
                <td rowspan="6" class="theader">图片地址</td>
                <td rowspan="6">
                    <img id="Image" src="../../images/nophone.png" style="height:180px;" />
                    <input type="button" style="width:80px;" value="上传照片" onclick="fnUploadFile()" />
                    <input class="mini-textbox" style="width: 100%;" id="img_url" name="img_url"  readonly="readonly"/>
                </td>
                <td class="theader">状态</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="status" name="status" data="[{id: 0, text: '正常'},{id: 1, text: '未审核'},{id:2, text: '锁定'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" />
                </td>
            </tr> 
            <tr>
                <td class="theader">是否管理员发布</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_sys" name="is_sys" data="[{id: 1, text: '是'},{id: 0, text: '否'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>

            </tr> 
            <tr>
                <td class="theader">是否幻灯片</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_slide" name="is_slide" data="[{id: 1, text: '是'},{id: 0, text: '否'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>
            </tr>
            <tr>
                <td class="theader">是否热门</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_hot" name="is_hot" data="[{id: 1, text: '是'},{id: 0, text: '否'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>
            </tr>
            <tr>
                <td class="theader">是否置顶</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_top" name="is_top" data="[{id: 1, text: '置顶'},{id: 0, text: '不置顶'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>
            </tr>
            <tr>
                <td class="theader">是否推荐</td>
                <td style="border: 1px #c4c0c0 solid; ">
                    <input id="is_red" name="is_red" data="[{id: 1, text: '推荐'},{id: 0, text: '不推荐'}]" class="mini-radiobuttonlist"
                           style="width: 100%;" value="0" />
                </td>
            </tr>
        </table> 
    </div>
    <div title="SEO信息">
        <table>
            <tr>
                <td class="theader">SEO描述</td>
                <td>
                    <input id="seo_description" name="seo_description" allowinput="true" shownullitem="false" class="mini-textarea" style="width: 100%;height:80px" />
                </td>
                <td class="theader">TAG标签逗号分隔</td>
                <td>
                    <input id="tags" name="tags" allowinput="true" shownullitem="false" class="mini-textarea" style="width: 100%;height:80px" />
                </td>
            </tr>
            <tr>
                <td class="theader">SEO标题</td>
                <td>
                    <input id="seo_title" name="seo_title" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;" />
                </td>
                <td class="theader">SEO关健字</td>
                <td>
                    <input id="seo_keywords" name="seo_keywords" allowinput="true" shownullitem="false" class="mini-textbox" style="width: 100%;" />
                </td>
            </tr>
        </table>
    </div>
    <div title="详细内容">
                <script id="content" type="text/plain" style="width:100% ;height:400px">
                </script>
    </div>
</div>
<script>
    //var editor = new UE.ui.Editor({ initialFrameHeight:410   });
    var ue = UE.getEditor('content');
</script>